package com.ly.service.impl;

import com.ly.mapper.PromotionSpaceMapper;
import com.ly.pojo.PromotionSpace;
import com.ly.service.PromotionSpaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PromotionSpaceServiceImpl implements PromotionSpaceService {
    @Autowired
    private PromotionSpaceMapper promotionSpaceMapper;

    public List<PromotionSpace> findAll() {
        List<PromotionSpace> promotionSpaces = promotionSpaceMapper.selectList(null);
        return promotionSpaces;
    }
}
